<html>
<title>Google Calendar Data API App Engine Sample</title>
<body>
<h2>Instructions for the Google Calendar Data API App Engine Sample</h2>

<h3>Try Online</h3>

<a href="http://calendar-v2-atom-sample.appspot.com/">http://calendar-v2-atom-sample.appspot.com/</a>

<h3>Browse Source Code</h3>

<ul>
  <li><a
    href="http://code.google.com/p/google-api-java-client/source/browse/calendar-v2-atom-oauth-appengine-sample/?repo=samples">calendar-v2-atom-oauth-appengine-sample</a>
  or <a
    href="http://code.google.com/p/google-api-java-client/source/browse/calendar-v2-atom-oauth-appengine-sample/src/com/google/api/client/sample/calendar/v2/appengine/server/CalendarServiceImpl.java?repo=samples">CalendarServiceImpl.java</a></li>
</ul>

<h3>Checkout Instructions</h3>

<p><b>Prerequisites:</b> install <a href="http://java.com">Java 6</a>, <a
  href="http://code.google.com/webtoolkit/download.html">GWT 2.1.1</a>, <a
  href="http://code.google.com/appengine/downloads.html">Google App Engine
1.4.0</a>, <a href="http://mercurial.selenic.com/">Mercurial</a>, and <a
  href="http://maven.apache.org/download.html">Maven</a>. You may need
to set your <code>JAVA_HOME</code>.</p>

<pre><code>cd <i>[someDirectory]</i>
hg clone https://samples.google-api-java-client.googlecode.com/hg/ google-api-java-client-samples
cd google-api-java-client-samples/calendar-v2-atom-oauth-appengine-sample
mvn clean package</code></pre>

<h3>Setup Project in Eclipse 3.5/3.6</h3>

<p><b>Prerequisites:</b> install <a href="http://www.eclipse.org/downloads/">Eclipse</a>,
<a href="http://code.google.com/eclipse/">Google Plugin for Eclipse</a>, and the
<a href="http://javaforge.com/project/HGE">Mercurial plugin</a>.</p>

<ul>
  <li>Import <code>calendar-v2-atom-oauth-appengine-sample</code> project
  <ul>
    <li>File &gt; Import...</li>
    <li>Select "General &gt; Existing Project into Workspace" and click
    "Next"</li>
    <li>Click "Browse" next to "Select root directory", find <code><i>[someDirectory]</i>/google-api-java-client-samples/calendar-v2-atom-oauth-appengine-sample</code>
    and click "Next"</li>
    <li>Click "Finish"</li>
  </ul>
  </li>
  <li>Run
  <ul>
    <li>Right-click on project calendar-v2-atom-oauth-appengine-sample</li>
    <li>Run As &gt; Web Application</li>
  </ul>
  </li>
</ul>

</body>
</html>
